package 接口;

import java.lang.reflect.Method;

//public class InterImpl implements Inter{   等价于下面（Object是类的根源）
public class InterImpl extends Object implements Inter{
    public InterImpl(){
        super();
    }

    @Override
    public void method() {
        System.out.println("method");
    }

    @Override
    public void show() {
        System.out.println("show");
    }

    public void sleep(){
        System.out.println("sleep");
    }
}
